{% extends 'base.html' %}

{% block titles %}
<title>
    寒门客-今日热榜
</title>
{% endblock %}

{% block app_content %}

<div class="container">
<div class="row">
    <center>
        <br>
        <h3>今日热榜提供各站热榜聚合：</h3>
        <p>微信、今日头条、百度、知乎、V2EX、微博、贴吧、豆瓣、天涯、虎扑、Github、抖音...追踪全网热点、简单高效阅读</p><br>
    {% if codes == 200 %}

    <table class="table table-bordered">
    <thead>
      <tr>
        <th>标题</th>
        <th>链接</th>
      </tr>
    </thead>
    <tbody>
    {% for hram in am %}
      <tr>
        <td>{{ hram['title'] }}</td>
		  <td><a href="{{ hram['link'] }}" style="color:blue">查看</a></td>
      </tr>
    {% endfor %}
    </tbody>
</table>
<br>
    {% endif %}

    <h2  class="text-center">作者的抖音二维码:</h2>
  <img src="{{ url_for('static',filename='images/douyinss.png') }}" alt="今日热榜" width="50%" height="50%"/>
</center>
</div>
</div>
{% endblock %}